!------------------------------------------- ! LearnCisco.Ru Lesson 4 Basic Router Setup ! Cisco 2621 configuraton file !------------------------------------------- ! version 12.2 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname c2621 ! logging queue-limit 100 logging buffered 4096 debugging ! memory-size iomem 10 ip subnet-zero ! ! no ip domain lookup ip dhcp excluded-address 192.168.1.1 192.168.1.10 ! ip dhcp pool learncisco network 192.168.1.0 255.255.255.0 dns-server 172.16.40.1 172.16.50.1 domain-name learncisco.ru default-router 192.168.1.1 ! ip audit notify log ip audit po max-events 100 mpls ldp logging neighbor-changes ! ! no voice hpi capture buffer no voice hpi capture destination ! ! mta receive maximum-recipients 0 ! ! interface FastEthernet0/0 ip address 172.16.10.2 255.255.255.252 ip access-group 110 in ip nat outside duplex auto speed auto ! interface FastEthernet0/1 ip address 192.168.1.1 255.255.255.0 ip nat inside duplex auto speed auto ! ip nat inside source list 10 interface FastEthernet0/0 overload ip http server no ip http secure-server ip classless ip route 0.0.0.0 0.0.0.0 172.16.10.1 ! ! access-list 10 permit 192.168.1.0 0.0.0.255 access-list 110 permit tcp any 172.16.10.0 0.0.0.255 established access-list 110 permit tcp any 172.16.10.0 0.0.0.255 gt 1023 access-list 110 permit udp any 172.16.10.0 0.0.0.255 gt 1023 access-list 110 permit icmp any 172.16.10.0 0.0.0.255 echo-reply access-list 110 permit icmp any 172.16.10.0 0.0.0.255 echo access-list 110 permit icmp any 172.16.10.0 0.0.0.255 time-exceeded access-list 110 deny ip any any log ! ! call rsvp-sync ! ! mgcp profile default ! ! dial-peer cor custom ! ! alias exec s sh ip int bri alias exec sir sh ip route ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 exec-timeout 0 0 ! ! end